]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensions-app: Rename executable
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 10 Apr 2020 02:27:31 +0000 (04:27 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 27 Apr 2020 22:06:19 +0000 (00:06 +0200)
We kept the old binary name when overhauling the tool for the Extensions
app to avoid unnecessary churn for packagers/distributors.

However we now have a reason to "free" the old name, so rename the binary
to match the (sub)project name.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1220

subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json
subprojects/extensions-app/js/gnome-extensions-app.in [new file with mode: 0644]
subprojects/extensions-app/js/gnome-shell-extension-prefs.in [deleted file]
subprojects/extensions-app/js/main.js
subprojects/extensions-app/meson.build

index c51850f726d590f7f80ae4434bc2ef958aa17004..4542732ac3c9a4aeb8e8a904e6a7c369d831fb05 100644 (file)
@@ -3,7 +3,7 @@
   "runtime": "org.gnome.Platform",
   "runtime-version": "master",
   "sdk": "org.gnome.Sdk",
-  "command": "gnome-shell-extension-prefs",
+  "command": "gnome-extensions-app",
   "tags": ["nightly"],
   "desktop-file-name-prefix": "(Nightly) ",
   "finish-args": [
diff --git a/subprojects/extensions-app/js/gnome-extensions-app.in b/subprojects/extensions-app/js/gnome-extensions-app.in
new file mode 100644 (file)
index 0000000..dc6d627
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+@gjs@ @pkgdatadir@/@app_id@ "$@"
diff --git a/subprojects/extensions-app/js/gnome-shell-extension-prefs.in b/subprojects/extensions-app/js/gnome-shell-extension-prefs.in
deleted file mode 100644 (file)
index dc6d627..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-@gjs@ @pkgdatadir@/@app_id@ "$@"
index 25804e5ba0e552066f763b91e20f90b78eec8de9..382637c74202fb06df2bc91dec6f124e8740b33b 100644 (file)
@@ -39,7 +39,7 @@ function toggleState(action) {
 var Application = GObject.registerClass(
 class Application extends Gtk.Application {
     _init() {
-        GLib.set_prgname('gnome-shell-extension-prefs');
+        GLib.set_prgname('gnome-extensions-app');
         super._init({ application_id: 'org.gnome.Extensions' });
     }
 
index dba98c3f5e0c9d86f069df8417e264f36ecfd758..1cfc06b818d90e66ec53a2a6c6ce4e711e1423a7 100644 (file)
@@ -5,7 +5,7 @@ project('gnome-extensions-app',
 )
 
 app_id = 'org.gnome.Extensions'
-prgname = 'gnome-shell-extension-prefs'
+prgname = 'gnome-extensions-app'
 
 gnome = import('gnome')
 i18n  = import('i18n')